# -*- conding:UTF-8 -*-

'''
@ Project: take_out_food
@ File: serializer.py
@ Author: 韩成瑾
@ Date：2022/8/30 14:54

'''
from rest_framework.serializers import ModelSerializer



from order.models import TasteGood, Order, GoodOreder


# 口味菜品表
class TasteGoodSerializer(ModelSerializer):
    class Meta:
        model = TasteGood
        fields = '__all__'

# 订单表
class OrderSerializer(ModelSerializer):
    class Meta:
        model = Order
        fields = '__all__'

# 商品订单表
class GoodOrederSerializer(ModelSerializer):
    class Meta:
        model = GoodOreder
        fields = '__all__'




